package singletonmode;

/**
 * 饿汉模式
 */
class StarvedMode {
    private final static StarvedMode INSTANCE = new StarvedMode();

    private StarvedMode() {
    }

    public static StarvedMode getInstance() {
        return INSTANCE;
    }
}